package com.gitee.huanminabc.utils_common.obj;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author huanmin
 * @Date 2025-02-21 10:08:17
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "SbyYapiProjectInfoConfigEntity",description = "项目信息配置")
@TableName("sby_yapi_project_info_config")
public class SbyYapiProjectInfoConfigEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    
    @ApiModelProperty(value = "没有字段描述", required = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    
    /**
     * 用户秘钥
     */
    @ApiModelProperty(value = "用户秘钥", required = true)
    @TableField("user_secret_key")
    private String userSecretKey;

    
    /**21
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称", required = true)
    @TableField("name")
    private String name;

    
    /**
     * 项目绝对路径
     */
    @ApiModelProperty(value = "项目绝对路径", required = true)
    @TableField("full_path")
    private String fullPath;

    
    /**
     * yapi项目秘钥
     */
    @ApiModelProperty(value = "yapi项目秘钥", required = false)
    @TableField("yapi_secret_key")
    private Integer yapiSecretKey;

    
    /**
     * 项目类型ProjectTypeEnum
     */
    @ApiModelProperty(value = "项目类型ProjectTypeEnum", required = true)
    @TableField("type")
    private String type;

    
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = true)
    @TableField("create_time")
    private Date createTime;

    
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", required = true)
    @TableField("update_time")
    private Date updateTime;



    private List<String> list;
    private Map<String,String> map;
    private String[] array;


    public  String test(@RequestParam(value = "name123") String name  ,String[] array,List<String> listaaa ) throws Exception,RuntimeException{
        System.out.println("test");
        return "test";
    }
    public  String test(@RequestParam(value = "name123") String name  ,String[] array,List<String> listaaa ,Integer name ) throws Exception,RuntimeException{
        System.out.println("test");
        return "test";
    }
    public  void test111(){

    }
}
